<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateAlllogTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('alllog', function (Blueprint $table) {
            $table->increments('id');
            $table->string('DevEUI');
            $table->string('aname');
            $table->string('bname');
            $table->string('rname');
            $table->string('loc');
            $table->string('time');
            $table->string('lsnr');
            $table->string('type');
            $table->string('genre');
            $table->string('degree');
            $table->string('num');
            $table->string('agent_id');
            $table->string('status');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('alllog');
    }
}
